<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="url" value="http://localhost:8080/Project_PDL_Test/"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <title>Verify account</title>
        <style>
            body { 
                width: 100% !important;
                -webkit-text-size-adjust:none;
                margin: 0; padding: 0;
                color: #8B8E95;
                background: #D2D1D7;
                font-family: Gill Sans, Gill Sans MT, sans-serif;
            }
            #backgroundTable{ height:100% !important; margin:0; padding:0; width:100% !important; }
            a { color: #1a344b; text-decoration: none; }
            a:hover { text-decoration: underline; }
            h1 { 
                color: #1a344b;
                border-bottom: 1px solid #1a344b;
                font-size: 18px;
                font-weight: bold;
                text-align: center; 
            }
            #header,
            #content,
            #footer { width: 600px; margin: 0 auto; }
            #content { 
                background-color: #EAE9EF;
                border: 2px solid #D8D9DB;
                -moz-border-radius: 15px;
                -webkit-border-radius: 15px;
                -khtml-border-radius: 15px;
                border-radius: 15px;
                font-size: 14px;
                overflow: hidden;
                padding: 20px 48px;
                margin: 20px auto 10px;
            }
            #content div { padding: 5px 0; }
        </style>
    </head>
    <body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0">
    	<center>
            <table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="backgroundTable">
                <tr>
                    <td align="center" valign="top">
                        <table border="0" cellpadding="10" cellspacing="0" width="600" id="header">
                            <tr>
                                <td style="text-align: center;">
                                    <a href="${url}">
                                        <img src="${url}images/logo.png" border="0">
                                    </a>
                                </td>
                            </tr>
                        </table>
                        <table border="0" cellpadding="10" cellspacing="0" width="600" id="content">
                            <tr>
                                <td>
                                    <h1>Verify account</h1>
                                    <div>Dear <%=request.getParameter("user")%>,</div>
                                    <div>
                                        Activate your account by clicking on the link below:<br />
                                        <a href="${url}Activation?key=<%=request.getParameter("key")%>">${url}Activation?key=<%=request.getParameter("key")%></a>
                                    </div>
                                    <div>
                                        If you did not created an account on <a href="${url}">3TwoLearn</a>, you can remove this email.
                                    </div>
                                </td>
                            </tr>
                        </table>
                        <table border="0" cellpadding="10" cellspacing="0" width="600" id="footer">
                            <tr>
                                <td>
                                    <div style="text-align: center; font-size: 11px; padding: 5px 0;">
                                        This is an automatically generated email from <a href="${url}">3TwoLearn</a>. It is not possible to contact us through this email.<br />
                                        If you like to contact us please visit our <a href="${url}jsp/contactpage.jsp">contact</a> page.</div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </center>
    </body>
</html>
